Learn R Programming

pbdMPI (version 0.3-0)

global match.arg: Global Argument Matching

Description

A binding for match.arg() that uses comm.stop() rather so that the error message (if there is one) is managed according to the rules of .pbd_env$SPMD.CT.

Usage

comm.match.arg(arg, choices, several.ok=FALSE, ..., 
               all.rank = .pbd_env$SPMD.CT$print.all.rank,
               rank.print = .pbd_env$SPMD.CT$rank.source,
               comm = .pbd_env$SPMD.CT$comm,
               mpi.finalize = .pbd_env$SPMD.CT$mpi.finalize,
               quit = .pbd_env$SPMD.CT$quit)

Arguments

arg,choices,several.ok
see match.arg()
...
ignored.
all.rank
if all ranks print (default = FALSE).
rank.print
rank for printing if not all ranks print (default = 0).
comm
communicator for printing (default = 1).
mpi.finalize
if MPI should be shutdown.
quit
if quit R when errors happen.

References

Programming with Big Data in R Website: http://r-pbd.org/